//package com.guohengspace.client.config;
//
//import com.baomidou.mybatisplus.annotation.DbType;
//import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
//import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
//import org.springframework.context.annotation.Bean;
//
///**
// * @ClassName MyBatisPlusConfig
// * @Description Mybatis Plus分页配置
// * @Author GuanNing
// * @Date 2022/12/29 14:46
// */
////@Configuration
////@MapperScan("com.guohengspace.client.mapper")
//public class MyBatisPlusConfig {
//
//    /**
//     * 创建Mybatis-Plus拦截器对象和分页插件，数据库类型是MySQL
//     * @return
//     */
//    @Bean
//    public MybatisPlusInterceptor mybatisPlusInterceptor() {
//        MybatisPlusInterceptor interceptor = new MybatisPlusInterceptor();
//        interceptor.addInnerInterceptor(new PaginationInnerInterceptor(DbType.MYSQL));
//        return interceptor;
//    }
//}
